package com.ziyun.erp.modules.logistics.dto;

import com.ziyun.erp.modules.logistics.entity.ErpLogisticsEntity;
import com.ziyun.erp.modules.logistics.entity.ErpLogisticsItemEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author guizhao
 * @Title: ErpLogisticsDto
 * @ProjectName ziyun-service-erp
 * @Description: 订单物流信息
 * @date 2018-09-01 17:07
 */
@Getter
@Setter
public class ErpLogisticsDto  implements Serializable{

    /**
     * 物流信息
     */
    @Valid
    @NotNull(message = "物流信息不能为空")
    private ErpLogisticsEntity erpLogisticsEntity;

    /**
     * 物流发货明细
     */
    private List<ErpLogisticsItemEntity> erpLogisticsItemList;

}
